package com.zjitc.model;

import java.util.Date;

/**
 * Create by IntelliJ IDEA
 *
 * @author: jsonor
 * @date-Time: 2018/4/19 14:46
 * @description:
 */
public class Evaluate {
  private Integer eid;
  private String content;
  private User user;

  @Override
  public String toString() {
    return "Evaluate{" +
        "eid=" + eid +
        ", content='" + content + '\'' +
        ", user=" + user +
        ", product=" + product +
        ", title='" + title + '\'' +
        ", date=" + date +
        '}';
  }

  private Product product;

  public Integer getEid() {
    return eid;
  }

  public void setEid(Integer eid) {
    this.eid = eid;
  }

  public String getContent() {
    return content;
  }

  public void setContent(String content) {
    this.content = content;
  }

  public User getUser() {
    return user;
  }

  public void setUser(User user) {
    this.user = user;
  }

  public Product getProduct() {
    return product;
  }

  public void setProduct(Product product) {
    this.product = product;
  }

  public String getTitle() {
    return title;
  }

  public void setTitle(String title) {
    this.title = title;
  }

  public Date getDate() {
    return date;
  }

  public void setDate(Date date) {
    this.date = date;
  }

  public Evaluate() {
  }

  public Evaluate(Integer eid, String content, User user, Product product, String title,
      Date date) {
    this.eid = eid;
    this.content = content;
    this.user = user;
    this.product = product;
    this.title = title;
    this.date = date;
  }

  private String title;
  private Date date;
}
